<template>
    <div>
        <van-nav-bar title="首页" left-text="返回" left-arrow @click-left="onClickLeft" />
        <van-search v-model="value" placeholder="请输入搜索关键词" input-align="center" @search="search" />
    </div>
</template>

<script setup>
import router from '@/router';

const search =()=>{
    router.push('/search')
}
</script>

<style lang="scss" scoped></style>